package com.lizicloud.user.userinfo.constants;

/**
 * 用户信息管理常量
 */
public class UserInfoConstants {
    
    // 用户状态
    public static final Integer USER_STATUS_ENABLED = 1;
    public static final Integer USER_STATUS_DISABLED = 0;
    
    // 用户角色
    public static final String ROLE_ADMIN = "ADMIN";
    public static final String ROLE_USER = "USER";
    
    // 错误消息
    public static final String USER_NOT_FOUND_MESSAGE = "用户不存在";
    public static final String GET_USER_INFO_FAILURE_MESSAGE = "获取用户信息失败";
    public static final String UPDATE_USER_INFO_FAILURE_MESSAGE = "更新用户信息失败";
    public static final String UPDATE_USER_STATUS_FAILURE_MESSAGE = "更新用户状态失败";
    public static final String GET_USER_LIST_FAILURE_MESSAGE = "获取用户列表失败";
    public static final String PERMISSION_DENIED_MESSAGE = "权限不足，需要管理员权限";
    
    // 日志消息
    public static final String GET_USER_INFO_SUCCESS_LOG = "获取用户信息成功，用户ID: {}";
    public static final String GET_USER_INFO_FAILURE_LOG = "获取用户信息失败，用户ID: {}，错误信息: {}";
    public static final String UPDATE_USER_INFO_SUCCESS_LOG = "更新用户信息成功，用户ID: {}";
    public static final String UPDATE_USER_INFO_FAILURE_LOG = "更新用户信息失败，用户ID: {}，错误信息: {}";
    public static final String UPDATE_USER_STATUS_SUCCESS_LOG = "更新用户状态成功，用户ID: {}，状态: {}";
    public static final String UPDATE_USER_STATUS_FAILURE_LOG = "更新用户状态失败，用户ID: {}，错误信息: {}";
    public static final String GET_USER_LIST_SUCCESS_LOG = "获取用户列表成功，查询条件: {}";
    public static final String GET_USER_LIST_FAILURE_LOG = "获取用户列表失败，错误信息: {}";
}